Generates a ten-sided polygon from two points, which define the center and the radius. The shape is used for the generation of a polyline or an area, depending on the current element generation mode.